package com.ruoyi.work.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收款认领对象 work_incoming
 * 
 * @author ruoyi
 * @date 2021-12-21
 */
public class WorkIncoming extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 认领ID */
    private Long incomingId;

    /** 来款人 */
    @Excel(name = "来款人")
    private String incomingName;

    /** 来款银行 */
    @Excel(name = "来款银行")
    private String bankName;

    /** 来款账号 */
    @Excel(name = "来款账号")
    private String bankAccount;

    /** 来款额度 */
    @Excel(name = "来款额度")
    private BigDecimal money;

    /** 返款金额 */
    @Excel(name = "返款金额")
    private BigDecimal refund;

    /** 税金 */
    @Excel(name = "税金")
    private BigDecimal taxes;

    /** 已销额度 */
    @Excel(name = "已销额度")
    private BigDecimal expenseLimit;

    /** 来款日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "来款日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date incomingDate;

    /** 认领人 */
    @Excel(name = "认领人")
    private String belong;

    /** 认领时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "认领时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date belongTime;

    private String[] expenses;
    private String[] taxs;
    private String[] invoices;
    private String[] papers;

    //是否销账
    private String isCancel;
    private String isBelong;

    //提成状态
    private String checkStatus;
    //销账类型
    private String cancelType;

    public String getCancelType() {
        return cancelType;
    }

    public void setCancelType(String cancelType) {
        this.cancelType = cancelType;
    }

    public String getCheckStatus() {
        return checkStatus;
    }

    public void setCheckStatus(String checkStatus) {
        this.checkStatus = checkStatus;
    }

    public String getIsBelong() {
        return isBelong;
    }

    public void setIsBelong(String isBelong) {
        this.isBelong = isBelong;
    }

    public String getIsCancel() {
        return isCancel;
    }

    public void setIsCancel(String isCancel) {
        this.isCancel = isCancel;
    }

    public String[] getExpenses() {
        return expenses;
    }

    public void setExpenses(String[] expenses) {
        this.expenses = expenses;
    }

    public String[] getTaxs() {
        return taxs;
    }

    public void setTaxs(String[] taxs) {
        this.taxs = taxs;
    }

    public String[] getInvoices() {
        return invoices;
    }

    public void setInvoices(String[] invoices) {
        this.invoices = invoices;
    }

    public String[] getPapers() {
        return papers;
    }

    public void setPapers(String[] papers) {
        this.papers = papers;
    }

    public void setIncomingId(Long incomingId)
    {
        this.incomingId = incomingId;
    }

    public Long getIncomingId() 
    {
        return incomingId;
    }
    public void setIncomingName(String incomingName) 
    {
        this.incomingName = incomingName;
    }

    public String getIncomingName() 
    {
        return incomingName;
    }
    public void setBankName(String bankName) 
    {
        this.bankName = bankName;
    }

    public String getBankName() 
    {
        return bankName;
    }
    public void setBankAccount(String bankAccount) 
    {
        this.bankAccount = bankAccount;
    }

    public String getBankAccount() 
    {
        return bankAccount;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setRefund(BigDecimal refund) 
    {
        this.refund = refund;
    }

    public BigDecimal getRefund() 
    {
        return refund;
    }
    public void setTaxes(BigDecimal taxes)
    {
        this.taxes = taxes;
    }

    public BigDecimal getTaxes()
    {
        return taxes;
    }
    public void setExpenseLimit(BigDecimal expenseLimit)
    {
        this.expenseLimit = expenseLimit;
    }

    public BigDecimal getExpenseLimit()
    {
        return expenseLimit;
    }
    public void setIncomingDate(Date incomingDate) 
    {
        this.incomingDate = incomingDate;
    }

    public Date getIncomingDate() 
    {
        return incomingDate;
    }

    public String getBelong() {
        return belong;
    }

    public void setBelong(String belong) {
        this.belong = belong;
    }

    public Date getBelongTime() {
        return belongTime;
    }

    public void setBelongTime(Date belongTime) {
        this.belongTime = belongTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("incomingId", getIncomingId())
            .append("incomingName", getIncomingName())
            .append("bankName", getBankName())
            .append("bankAccount", getBankAccount())
            .append("money", getMoney())
            .append("refund", getRefund())
            .append("taxes", getTaxes())
            .append("expenseLimit", getExpenseLimit())
            .append("incomingDate", getIncomingDate())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
